home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 32 / Mac Magazin and MacEasy Magazine CD - Issue 32.iso / Grafik & Text / OzTeX3.0 / Metafont / Inputs / ec / txpseudo.mf < prev    next >
Text File  |  1997-03-16  |  2KB  |  67 lines

  1. % txpseudo.mf
  2. %
  3. % (c) Copyright 1995, 1996, 1997 J"org Knappen
  4. %
  5. % This file is part of ecfonts version 1.0
  6. %
  7. % Please read the files 00readme.txt, 00inst.txt, 00error.txt, and
  8. % copyrite.txt for further information
  9. %
  10. % You find some documentation in ecdoc.tex (needs LaTeX2e)
  11. %
  12. % This file contains pseudoparameters which are not entered in the 
  13. % parameter files, but are computed from the initial parameter set. 
  14. % There are also ad hoc parameters needed only once, and scratch 
  15. % parameters with different values at each occuerence (like |theta|).
  16. %
  17.  
  18. version_check(1,0);  % |version_check| was introduced in dc1.3
  19.  
  20. % Diameters of dots
  21.  
  22. numeric idot_diam#,udot_diam#,pdot_diam#;
  23. idot_diam#=max(dot_size#,cap_curve#);  % dot of letters `i' and `j'
  24. udot_diam#=max(dot_size#,cap_curve#);  % umlaut dots
  25. pdot_diam#=if monospace: 5/4 fi\\ dot_size#; % punctuation dots
  26.  
  27. % |limit_dist| is used in |put_cross|
  28. % (the value of |u| is changed by |mono_adjust|, hence the global setting)
  29.  
  30. vardef limit_dist=5/4u enddef;
  31.  
  32. % More parametrisations for accents from csaccent.mf (csfonts):
  33.  
  34. numeric uc_acc_height, uc_acc_height#,
  35.         lc_acute_height, lc_acute_height#,
  36.         lc_hachek_height, lc_hachek_height#,
  37.         accent_u, accent_u#,
  38.         accent_thin,
  39.         uc_acc_shift, asc_acc_shift;
  40. if unknown circ_weight: circ_weight:=1; fi
  41.  
  42. uc_acc_height# = cap_height#+asc_height#-hi.x_height#;
  43. lc_acute_height# = asc_height#;
  44. lc_hachek_height# = hi.x_height#+acc_height#;
  45. accent_u# = u#;   % unexpanded dimension unit
  46.  
  47. vardef accent_thin = if thin_join > crisp: thin_join else: crisp+eps fi enddef;
  48.  
  49. vardef uc_acc_shift = cap_height - hi.x_height enddef;
  50. vardef asc_acc_shift = asc_height - hi.x_height enddef;
  51.  
  52. % Height of floating accents for capitals (note, that TeX raises them 
  53. % by |uc_acc_shift|)
  54.  
  55. numeric cap_accent_height, cap_accent_height#;
  56. cap_accent_height# = acc_height# + hi.x_height#;
  57.  
  58. def pseudo_setup=
  59.   define_whole_blacker_pixels(idot_diam,udot_diam,pdot_diam);
  60.   define_whole_vertical_pixels(uc_acc_height,lc_acute_height,
  61.     lc_hachek_height);
  62.   define_pixels(accent_u);
  63.   define_whole_vertical_pixels(cap_accent_height);
  64. enddef;
  65. endinput;
  66.